package com.lipeng.bean;

public class Order {
    private Integer oid;

    private Integer uid;

    private Integer sid;

    private Integer count;

    private Integer status;

    private User user;

    private Shop shop;

    public Order(){
    }

    @Override
    public String toString() {
        return "Order{" +
                "oid=" + oid +
                ", uid=" + uid +
                ", sid=" + sid +
                ", count=" + count +
                ", status=" + status +
                ", user=" + user +
                ", shop=" + shop +
                '}';
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public Order(Integer oid, Integer uid, Integer sid, Integer count, User user, Shop shop) {
        this.oid = oid;
        this.uid = uid;
        this.sid = sid;
        this.count = count;
        this.user = user;
        this.shop = shop;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}